#ifndef GAS_H
#define GAS_H

#include <QtGui/QMainWindow>
#include <QTimer>
#include "ball.h"
#include <time.h>

class gas : public QMainWindow
{
	Q_OBJECT

public:
	gas(QWidget *parent = 0); //uchwyto systemowy
	~gas();
	Ball* list;
	static int rozmiar;

protected:
	void paintEvent(QPaintEvent *event);
	void timerEvent(QTimerEvent *event);

private:
	int timerId;
	int t;
};

#endif // GAS_H